const express = require("express");
const app = express();
app.use(express.static(__dirname));
app.get("/info",(req,res)=>{
	res.json({
		ok:1,
		msg:"get->info"
	})
})
app.get("/sum",(req,res)=>{
	res.json({
		ok:100,
		msg:"get->sum"
	})
})
app.post("/sum",(req,res)=>{
	res.json({
		ok:100,
		msg:"post->sum"
	})
})
app.listen(8081,()=>{
	console.log("success");
})